#ifndef BUTTON_MENU_H
#define BUTTON_MENU_H

#include <QWidget>
#include "button_base.h"

class button_menu : public button_base
{
    Q_OBJECT
public:
    explicit button_menu(QWidget *parent = nullptr);

protected:
    // 绘图事件
    void paintEvent(QPaintEvent *event);
    
    // 进入事件
    void enterEvent(QEvent *event);
    
    // 离开事件
    void leaveEvent(QEvent *event);
    
    // 按下事件
    void mousePressEvent(QMouseEvent *event);
    
    // 释放事件
    void mouseReleaseEvent(QMouseEvent *event);
signals:
    
};

#endif // BUTTON_MENU_H
